package com.rds.workflow.service.impl;

import com.rds.workflow.domain.RdaWfUserAgent;
import com.rds.workflow.mapper.RdaWfUserAgentMapper;
import com.rds.workflow.service.IRdaWfUserAgentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RdaWfUserAgentServiceImpl implements IRdaWfUserAgentService {
    @Autowired
    private RdaWfUserAgentMapper rdaWfUserAgentMapper;

    @Override
    public RdaWfUserAgent selectRdaWfUserAgentByid(Long id) {
        return rdaWfUserAgentMapper.selectRdaWfUserAgentByid(id);
    }

    @Override
    public List<RdaWfUserAgent> selectRdaWfUserAgentList(RdaWfUserAgent rdaWfUserAgent) {
        return rdaWfUserAgentMapper.selectRdaWfUserAgentList(rdaWfUserAgent);
    }

    @Override
    public int insertRdaWfUserAgent(RdaWfUserAgent rdaWfUserAgent) {
        return rdaWfUserAgentMapper.insertRdaWfUserAgent(rdaWfUserAgent);
    }

    @Override
    public int updateRdaWfUserAgent(RdaWfUserAgent rdaWfUserAgent) {
        return rdaWfUserAgentMapper.updateRdaWfUserAgent(rdaWfUserAgent);
    }

    @Override
    public int deleteRdaWfUserAgentByIds(Long[] ids) {
        return rdaWfUserAgentMapper.deleteRdaWfUserAgentByIds(ids);
    }

    @Override
    public List<RdaWfUserAgent> selectRdaWfUserAgentByWorkflowtempleteid() {
        return rdaWfUserAgentMapper.selectRdaWfUserAgentByWorkflowtempleteid();
    }

    @Override
    public int updateRdaWfUserAgentByStateid(Long stateid,Long stateid2,Long stateid3) {
        return rdaWfUserAgentMapper.updateRdaWfUserAgentByStateid(stateid,stateid2,stateid3);
    }
}
